package com.gxa.controller;

import com.gxa.common.R;
import com.gxa.service.menuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpSession;

/**
 * @author xiejinfeng
 * @create 2021-06-09 10:25
 * @descrip:
 */
@RestController
public class MenuController {

    @Autowired
    private menuService menuService;


    @PostMapping("/menu/list")
    public R menuList(HttpSession session){

        return menuService.munuList(session);

    }

}
